package com.nciae.service.impl;

import com.nciae.po.Role;
import com.nciae.dao.RoleMapper;
import com.nciae.service.IRoleService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author Guoliyu
 * @since 2022-04-24
 */
@Service
public class RoleServiceImpl extends ServiceImpl<RoleMapper, Role> implements IRoleService {

    @Override
    public List<Role> findAll() {
        return baseMapper.selectList(null);
    }
}
